.modal-body {
  padding: 0 5%;

  nz-form-label{
    text-align: right;
  }
}

.sub-table-pwrap {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 53px;
  background-color: #f2f2f2;
  border-bottom: 1px solid #cfd5de;
  padding: 10px;

  .sub-txt {
    color: #909399;
  }

  .sub-table-plf {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .sub-table-prt {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

// 商品 & 价格/数量
.table-good-list {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px;
  border-bottom: 1px solid #cfd5de;

  &:last-child {
    border-bottom: none;
  }

  .goods-dl {
    display: flex;
    align-items: center;
    width: 80%;

    dt {
      box-sizing: border-box;
      border: 1px solid #EBEEF5;
    }

    dd {
      display: flex;
      flex-direction: column;
      padding-left: 6px;

      .goods-name {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
      }
    }
  }

  .goods-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

:host ::ng-deep {
  .table-wrap {
    .ant-table table {
      table-layout: fixed !important;
    }

    .sub-table-wrap {
      td {
        font-size: 13px;
        color: #606266;

        .button-pad {
          padding: 4px 2px;
        }
      }

      // 重置nz-table border css
      .ant-table.ant-table-bordered > .ant-table-container {
        border: 1px solid transparent;
      }

      .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td {
        border-right-color: #cfd5de;

        &:last-child {
          border-right: 0;
        }
      }

      .ant-table-tbody > tr > td {
        border-bottom-color: transparent;
      }
    }
  }

  // 重置nz-table border css
  .ant-table.ant-table-bordered > .ant-table-container {
    border: 1px solid #cfd5de;
  }

  .ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td {
    &:first-child {
      border-right-color: #cfd5de;
    }

    &:last-child {
      border-right-color: transparent;
    }
  }

  .ant-table-tbody > tr > td {
    border-bottom-color: #cfd5de;
  }
}

.blue-color {
  color: #3399FF;
}